(ns x10.servlet 
  [:use [x10.web :only (handler)]
        [ring.adapter.jetty :only (run-jetty)]
        [ring.middleware.file :only (wrap-file)]
        [ring.middleware.stacktrace :only (wrap-stacktrace)]])
  
(def app (wrap-file (wrap-stacktrace #'handler) "src/html"))

(defn boot [] (run-jetty #'app {:port 8080}))
